using System;

namespace RideMe.Core
{
    /// <summary>
    /// This event args is thrown around with the event notifying subscribers of a project being loaded
    /// </summary>
    public class ProjectLoadedEventArgs : EventArgs
    {
        private string _path;

        /// <summary>
        /// The path of the project loaded
        /// </summary>
        public string Path
        {
            get { return _path; }
        }

        /// <summary>
        /// Creates the event args, setting the project path that was loaded
        /// </summary>
        /// <param name="path"></param>
        public ProjectLoadedEventArgs(string path)
        {
            this._path = path;
        }
    }
}
